<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="css/eui.css">
    <style>
        body {
            font: 18px "Microsoft YaHei UI";
            margin: 0;
        }

        a {
            text-decoration: none;
        }

        header a {
            color: #6c6c6c;
        }

        header a:hover {
            color: #0aa1ed;
        }

        .c_img:hover {
            position: relative;
            bottom: 5px;
            box-shadow: 0 0 10px 5px #b3d8ff;
        }
    </style>
</head>
<body>
<div id="app">
    <el-container>
        <el-header height="150px" style="padding: 0">
            <div style="width: 1200px;margin: 0 auto;">
                <img src="imgs/logo.png" alt="logo" style="width: 300px;vertical-align: middle;">
                <span>
                    <a href="">首页</a><el-divider direction="vertical"></el-divider>
                    <a href="">热点资讯</a><el-divider direction="vertical"></el-divider>
                    <a href="">商家入驻</a><el-divider direction="vertical"></el-divider>
                    <a href="">社会招聘</a><el-divider direction="vertical"></el-divider>
                    <a href="">校园招聘</a><el-divider direction="vertical"></el-divider>
                    <a href="">帮助中心</a>
                </span>
            </div>
            <!--蓝色导航条开始-->
            <div style="width: 100%;height: 60px;background-color:#82c8ec;">
                <el-menu style="width: 1200px;margin: 0 auto;border-bottom:0"
                         default-active="1"
                         class="el-menu-demo"
                         mode="horizontal"
                         @select="handleSelect"
                         background-color="#82c8ec"
                         text-color="#fff"
                         active-text-color="#fff">
                    <el-menu-item index="1">精彩活动</el-menu-item>
                    <el-menu-item index="2">当季女装</el-menu-item>
                    <el-menu-item index="3">品牌男装</el-menu-item>
                    <el-menu-item index="4">环球美食</el-menu-item>
                    <el-menu-item index="5">医药健康</el-menu-item>
                    <el-menu-item index="6">美妆彩妆</el-menu-item>
                    <el-menu-item index="7">母婴产品</el-menu-item>
                    <!--搜索框开始-->
                    <div style="float: right;margin-top: 15px">
                        <el-input size="mini" placeholder="请输入关键字"></el-input>
                        <el-button icon="el-icon-search"
                                   style="position: absolute;background-color:rgba(0,0,0,0);border: 0;right:0;top: 10px"></el-button>
                    </div>
                    <!--搜索框结束-->
                </el-menu>
            </div>
            <!--蓝色导航条结束-->
        </el-header>
        <el-main style="width: 1200px;margin: 0 auto;">
            <el-row gutter="20">
                <el-col span="12">
                    <el-card>
                        <img :src="product.url" alt="" width="100%" class="c_img">
                    </el-card>
                </el-col>
                <el-col span="12">
                    <p style="font-size: 25px;font-weight: 700">{{product.title}}</p>
                    <el-divider></el-divider>
                    <p style="font-size: 15px;color: #999">
                        销量:{{product.saleCount}} 浏览量:{{product.viewCount}}
                    </p>
                    <p style="margin: 30px 0">
                        <span style="font-size:25px; font-weight: 700">￥{{product.money}}</span>
                        <span style="font-size: 15px;color: #999;text-decoration: line-through">原价￥{{product.oldPrice}}</span>
                    </p>
                    <!--二维码开始-->
                    <el-row gutter="20">
                        <el-col span="8" style="text-align: center" v-for="c in content">
                            <el-card><img src="imgs/ewm.jpg" alt="" width="100%"></el-card>
                            <span>{{c}}</span>
                        </el-col>
                    </el-row>
                    <!--二维码结束-->
                </el-col>
            </el-row>
        </el-main>
        <el-footer style="padding: 0">
            <div style="background-image:url('imgs/wave.png');height: 95px;margin-bottom: -35px"></div>
            <div style="background-color:#3f3f3f;height: 100px;font-size: 14px;color: #b1b1b1;text-align: center;padding: 30px">
                <p>Copyright 北京达内金桥科技有限公司版权所有 京ICP备12003709号-3 京公网安备 11010802029572号</p>
                <p>涵盖20余门课程体系，致力于打造权威的IT职业教育学习平台</p>
                <p>达内在线WWW.TMOOC.CN 专注于IT职业技能培训</p>
            </div>
        </el-footer>
    </el-container>
</div>
</body>
<!-- import Vue before Element -->
<script src="js/vue.js"></script>
<!-- import JavaScript -->
<script src="js/eui.js"></script>
<script>
    let v = new Vue({
        el: '#app',
        data: function () {
            return {
                content: ["扫码购买商品", "扫码关注公众号", "扫码下载App"],
                product: {
                    title: "森马牛仔裤女宽松慢跑裤运动风2022春季新款显瘦束脚长裤复古",
                    money: 233,
                    oldPrice: 598,
                    url: "imgs/a.jpg",
                    saleCount: 2342,
                    viewCount: 25
                }
            }
        }
    })
</script>
</html>